import A from './A.js'
export default (...params)=>{
    let len = params.length,
        average = 0;
    if(len === 0) return 0;
    if(len === 1) return params[0];
    if(len > 1){
        let value = A(...params);
        average = value / len
    } 
    return average 
}